﻿using AutoMapper;
using BW.Demo.Domain.Entities;
using BW.Demo.WebApi.Applications.Commands;
using BW.Demo.WebApi.Applications.Commands.Deputy;
using BW.Demo.WebApi.Applications.Commands.Upd;

namespace BW.Demo.WebApi
{
    public class MappingProfile : Profile
    {
        public MappingProfile()
        {
            CreateMap<TraceabilityCreateCommand, TraceabilityManagement>();
            CreateMap<TraceabilityDeleteCommand, TraceabilityManagement>();
            CreateMap<TraceabilityUpdateCommand, TraceabilityManagement>();
            CreateMap<AquacultureUpdCommand, Aquaculture>();
            CreateMap<PicUpdateCommand, PictureInformation>();

        }
    }
}
